home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / f90 / mvbits.z / mvbits
Encoding:
Text File  |  1998-10-30  |  2.9 KB  |  59 lines

  1. MVBITS(3I)                                             Last changed: 1-6-98
  2.  
  3.  
  4. NNAAMMEE
  5.      MMVVBBIITTSS - Copies a sequence of bits from one integer data object to
  6.      another
  7.  
  8. SSYYNNOOPPSSIISS
  9.      CCAALLLL MMVVBBIITTSS (([FFRROOMM==]_f_r_o_m,, [FFRROOMMPPOOSS==]_f_r_o_m_p_o_s,, [LLEENN==]_l_e_n,, [TTOO==]_t_o,,
  10.      [TTOOPPOOSS==]_t_o_p_o_s))
  11.  
  12. IIMMPPLLEEMMEENNTTAATTIIOONN
  13.      UNICOS, UNICOS/mk, and IRIX systems
  14.  
  15. SSTTAANNDDAARRDDSS
  16.      Fortran 90
  17.  
  18. DDEESSCCRRIIPPTTIIOONN
  19.      The MMVVBBIITTSS intrinsic subroutine copies a sequence of bits from one
  20.      integer data object to another.  It accepts the following arguments:
  21.  
  22.      _f_r_o_m      Must be of type integer.  It is an IINNTTEENNTT ((IINN)) argument.
  23.  
  24.      _f_r_o_m_p_o_s   Must be of type integer and nonnegative.  It is an IINNTTEENNTT
  25.                ((IINN)) argument.  _f_r_o_m_p_o_s + _l_e_n must be less than or equal to
  26.                BBIITT__SSIIZZEE (_f_r_o_m).  The bit model defines the interpretation
  27.                of an integer value as a sequence of bits.  For more
  28.                information on the bit model see the MMOODDEELLSS(3I) man page.
  29.  
  30.      _l_e_n       Must be of type integer and nonnegative.  It is an IINNTTEENNTT
  31.                ((IINN)) argument.
  32.  
  33.      _t_o        Must be a variable of type integer with the same kind type
  34.                parameter value as _f_r_o_m and may be the same variable as
  35.                _f_r_o_m.  It is an IINNTTEENNTT ((IINNOOUUTT)) argument.  _t_o is set by
  36.                copying the sequence of bits of length _l_e_n, starting at
  37.                position _f_r_o_m_p_o_s of _f_r_o_m to position _t_o_p_o_s of _t_o.  No other
  38.                bits of _t_o are altered.  On return, the _l_e_n bits of _t_o
  39.                starting at _t_o_p_o_s are equal to the value that the _l_e_n bits
  40.                of _f_r_o_m starting at _f_r_o_m_p_o_s had on entry.
  41.  
  42.      _t_o_p_o_s     Must be of type integer and nonnegative.  It is an IINNTTEENNTT
  43.                ((IINN)) argument.  _t_o_p_o_s + _l_e_n must be less than or equal to
  44.                BBIITT__SSIIZZEE (_t_o).
  45.  
  46.      MMVVBBIITTSS is an elemental subroutine.  The name of this intrinsic cannot
  47.      be passed as an argument.
  48.  
  49. EEXXAAMMPPLLEESS
  50.      If TTOO has the initial value 6, the value of TTOO after the statement
  51.      CCAALLLL MMVVBBIITTSS((77,, 22,, 22,, TTOO,, 00)) is 5.
  52.  
  53. SSEEEE AALLSSOO
  54.      MMOODDEELLSS(3I)
  55.  
  56.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
  57.      printed version of this man page.
  58.  
  59.